package ai.people.netmon.framework.domain.system.entity;

import com.alibaba.fastjson.annotation.JSONField;
import com.alibaba.fastjson.serializer.ToStringSerializer;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;

/**
 * <p>
 * 系统字典数据
 * </p>
 *
 * @author zhenglin
 * @since 2022-02-25
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName(schema = "cfg_common",value = "sys_dict_data")
public class SystemDictData implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * ID
     * @mock 1
     */
    @TableId(value = "id")
    @JSONField(serializeUsing = ToStringSerializer.class)
    private Long id;

    /**
     * 字典值
     * @mock wallet_type
     */
    private String dictCode;

    /**
     * 字典数据名称
     * @mock Wallet_type
     */
    private String dictDataName;

    /**
     * 字典数据值
     * @mock wallet_type
     */
    private String dictDataValue;

    /**
     * 是否固定（0：不可变，1：可变）
     * @mock 1
     */
    private Boolean isVariable;

    /**
     * 排序
     * @mock 1
     */
    private Integer sortSeq;

    /**
     * 描述
     * @mock xxx
     */
    private String description;


}
